package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配额对象 quota
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public class Quota extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 第三方平台 */
    @Excel(name = "第三方平台")
    private String thirdPartyPlatform;

    /** 调用次数 */
    @Excel(name = "调用次数")
    private Long apiInvokeCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setThirdPartyPlatform(String thirdPartyPlatform) 
    {
        this.thirdPartyPlatform = thirdPartyPlatform;
    }

    public String getThirdPartyPlatform() 
    {
        return thirdPartyPlatform;
    }
    public void setApiInvokeCount(Long apiInvokeCount) 
    {
        this.apiInvokeCount = apiInvokeCount;
    }

    public Long getApiInvokeCount() 
    {
        return apiInvokeCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("thirdPartyPlatform", getThirdPartyPlatform())
            .append("apiInvokeCount", getApiInvokeCount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
